<{foreach from=$list item=item}>
<div class="message-box" data-nick="<{$item.nickname}>" data-id="<{$item.id}>" onclick="commentSelect(this)">
    <div class="user">
        <span class="avatar"><img src="<{$item.uid|headpic}>" alt="" class="uhead" /></span>
        <span class="nickname"><{$item.nickname}></span>
        <{if $commentPraiseSwitch}><a id="praiseComment" class="like <{if $item.praiseComment eq 1}>liked<{/if}>" href="javascript:void(0);" onclick="praiseComment(this,'<{$item.id}>','<{$type}>')"><{$item.praiseNum}></a><{/if}>
    </div>
    <p class="publish"><{$item.addTime|date_format:'%m-%d %H:%M'}></p>
    <p class="des"><{$item.content}></p>

    <{foreach from=$item.children item=child}>
    <div class="feedback">
        <div class="user">
            <span class="avatar"><img src="<{$child.uid|headpic}>" class="uhead" /></span>
            <span class="nickname"><{if $child.nickname}><{$child.nickname}><{else}>匿名用户<{/if}></span>
        </div>
        <p class="publish"><{$child.addTime|date_format:'%m-%d %H:%M'}></p>
        <p class="des"><{$child.content}></p>
    </div>
    <{/foreach}>
</div>



<{/foreach}>